package com.chunlin.polymrphism;

public class B extends A {
    private int num = 1;

    @Override
    public void func() {
        System.out.println("B.func() " + num);
    }
}
